<body style="background: #CCCCFF;">
 
<!--creates form, exectues the authenticate method when the submit button is clicked--> 
<br> 
<center>
<h1>User Management</h1>


<%= form_tag :action=>'authenticate' %> 
User name: 
<%= text_field("userform", "username",:size=>"20" ) %> 
<br> <br> 
Password : 
<%= password_field("userform", "password",:size=>"20" ) 
%> 
<br> 
<br> 
<input type="submit" value=" LOGIN " />


<br> <br>
<%= link_to "Register", new_user_path %>
<br> <br>

<%= link_to "Login as Guest",:controller => "home", :action => "guest" %>

</center>

</body>